<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorator="layout/blank"><!-- layout文件路径-->
<head>
    <title>轮播管理</title>
</head>
<body>
<div layout:fragment="content">
    <div class="row">

        <!-- START CONTENT FRAME BODY -->
        <div class="content-frame-body content-frame-body-left">

            <div class="pull-right push-up-10">
                <div class="btn-group">
                    <button class="btn btn-primary" id="banner-add-btn"><span class="fa fa-plus"></span> add</button>
                </div>
            </div>

            <div class="gallery" id="links" >
                <a class="gallery-item" data-gallery="" th:each="entity : ${list}">
                    <div class="image">
                        <img th:src="${entity.image}"/>x
                        <ul class="gallery-item-controls">
                            <li th:attr="data-id=${entity.id}"><span class="gallery-item-edit"><i class="fa fa-pencil"></i></span></li>
                            <li th:attr="data-id=${entity.id}"><span class="gallery-item-remove"><i class="fa fa-times"></i></span></li>
                        </ul>
                    </div>
                    <div class="meta">
                        <strong th:text="${entity.title}"></strong>
                        <span th:text="${entity.url}"></span>
                    </div>
                </a>

            </div>

        </div>
        <!-- END CONTENT FRAME BODY -->
    </div>
</div>
</body>

</html>